import type{ DyPlaying } from "@/api/model/dyUserCodeModel";
interface IState {
    playingList:Array<DyPlaying>
    userId:string
    inUser:boolean
    playingId:string
    code:string
}

export default defineStore({
  id: 'user',
  state: (): IState => {
    return {
        playingList:[],
        userId:"",
        inUser:false,
        playingId:"",
        code:""
    }
  },
  getters: {},
  actions: {  },
  persist: {
    enabled: true,
  },
})
